package com.taobao.media.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author erebus
 */
@Data
@TableName("videos")
public class Videos implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "video_id", type = IdType.AUTO)
    private Integer videoId;

    private String title;

    /**
     * 视频描述
     */
    private String description;

    private String src;

    /**
     * 封面图的URL
     */
    private String poster;

    private LocalDateTime uploadTime;

    private Integer userId;

    private Integer categoryId;

    /**
     * 观看次数
     */
    private Integer viewCount;

    /**
     * 视频时长（秒）
     */
    private Integer duration;


}
